<?php

namespace App\Providers;

use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        'App\Events\SalesNumber' => [
            'App\Listeners\HandleSalesNumber',
        ],
        'App\Events\DestroyOrder' => [
            'App\Listeners\HandleDestroyOrder',
        ],
        'App\Events\Distribution' => [
            'App\Listeners\HandleDistribution',
        ],
        'App\Events\OrderPaid' => [
            'App\Listeners\HandleOrderPaid',
        ],
        'App\Events\OrderIntegral' => [
            'App\Listeners\HandleOrderIntegral',
        ],
        'App\Events\VirtualGoods' => [
            'App\Listeners\HandleVirtualGoods',
        ],
        'App\Events\teamActivityPaid' => [
            'App\Listeners\HandleTeamActivityPaid',
        ],
        'App\Events\Consumption' => [
            'App\Listeners\HandleConsumption',
        ],
        'App\Events\CoursePaid' => [
            'App\Listeners\HandleCoursePaid',
        ],
        'App\Events\CourseDistribution' => [
            'App\Listeners\HandleCourseDistribution',
        ],
        'App\Events\TeacherBonus' => [
            'App\Listeners\HandleTeacherBonus',
        ],
        'App\Events\CourseIntegral' => [
            'App\Listeners\HandleCourseIntegral',
        ],
    ];

    /**
     * Register any events for your application.
     *
     * @return void
     */
    public function boot()
    {
        parent::boot();

        //
    }
}
